﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/PortalParts/Portal.Master" CodeBehind="BranchIndex.aspx.cs" Inherits="ZHDJ.Web.Portal.BranchIndex1" %>

<%@ Import Namespace="ZHDJ.Core.Util" %>
<%@ Register Src="~/PortalParts/ImageAuto.ascx" TagPrefix="uc1" TagName="ImageAuto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Resource/themes/default/css/index-slidelf.css" rel="stylesheet" />
    <link href="../Resource/themes/default/css/addNewCustom.css" rel="stylesheet" />
    <style type="text/css">
        .headphone {
            width: 114px;
            height: 140px;
        }

        .headphone-title {
            width: 114px;
            white-space: normal;
            word-break: break-all;
            text-align: center;
            height: 20px;
            line-height: 20px;
        }

        .h_ul_lic {
            margin-right: 8px;
        }

        .h_ul_lic2 {
            margin-right: 8px;
        }

        .mytab {
            width: 338px;
            height: 340px;
            overflow: hidden;
            position: relative;
            border: solid 1px #c9c9c9;
        }

        .mytab .tabcontroller {
            width: 318px;
            height: auto;
            position: absolute;
            left: 10px;
            top: 190px;
        }

        .mytab .tabcontroller ul {
            height: auto;
			overflow: hidden;
        }

        .mytab .tabcontroller li {
			float: left;
			width: 48%;
            height: 60px;
            line-height: 60px;
            background: #e9e9e9;
            text-align: center;
            margin-top: 0;
            margin-bottom: 10px;
            cursor: pointer;
            position: relative;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
        }
    	.mytab .tabcontroller li:nth-of-type(2n) {
			float: right;
    	}

        .mytab .tabcontroller li .item {
            position: absolute;
            left: 0px;
            top: 50%;
            margin-top: -12px;
            background: #ffffff;
            border: solid 1px #ffffff;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            border-radius: 12px;
            opacity: 0;
            -webkit-transition: all 200ms;
            -moz-transition: all 200ms;
            transition: all 200ms;
            z-index: 2;
        }

        .mytab .tabcontroller li .item a {
            width: 96px;
            height: 24px;
            color: black;
            text-align: center;
            line-height: 24px;
        }

        .mytab .tabcontroller .active {
            background: #e92b2f;
            color: white;
        }

        .mytab .tabcontroller li:hover {
            background: #e92b2f;
            color: white;
        }

        .mytab .tabcontroller li:hover .item {
            opacity: 1;
            box-shadow: rgba(0,0,0,.6) 0 0 8px;
        }

        .mytab .tabcontroller li:hover .item1 {
            top: 0px;
            left: 42px;
        }

        .mytab .tabcontroller li:hover .item2 {
            top: 32px;
            left: 72px;
        }

        .mytab .tabcontroller li:hover .item3 {
            top: 64px;
            left: 42px;
        }

        .mytab .tabcontroller li .icon {
            width: 40%;
            height: 60px;
            float: left;
        }

        .mytab .tabcontroller li .icon1 {
            background: url(../Resource/themes/default/images/Party/chuang.png) no-repeat center center;
        }

        .mytab .tabcontroller li .icon2 {
            background: url(../Resource/themes/default/images/Party/chengyuan.png) no-repeat center center;
        }

        .mytab .tabcontroller li .icon3 {
            background: url(../Resource/themes/default/images/Party/zhinan.png) no-repeat center center;
        }

        .mytab .tabcontroller li .icon4 {
            background: url(../Resource/themes/default/images/Party/jigou.png) no-repeat center center;
        }

        .mytab .tabcontroller .active .icon1 {
            background: url(../Resource/themes/default/images/Party/chuang1.png) no-repeat center center;
        }

        .mytab .tabcontroller .active .icon2 {
            background: url(../Resource/themes/default/images/Party/chengyuan1.png) no-repeat center center;
        }

        .mytab .tabcontroller .active .icon3 {
            background: url(../Resource/themes/default/images/Party/zhinan1.png) no-repeat center center;
        }

        .mytab .tabcontroller .active .icon4 {
            background: url(../Resource/themes/default/images/Party/jigou1.png) no-repeat center center;
        }

        .mytab .tabcontroller li .text {
            width: 60%;
            float: right;
            font-size: 14px;
        }

            .mytab .tabcontroller li .text a {
                color: black;
            }

        .mytab .tabcontroller .active .text a {
            color: white;
        }

        .mytab .tabpanel {
            width: 338px;
            height: 200px;
			overflow: hidden;
            position: absolute;
            left: 0;
            top: 0;
        }

        .mytab .tabpanel .tabcontent p {
            height: auto;
			padding: 10px 20px;
            line-height: 28px;
            font-size: 14px;
            text-indent: 2em;
            overflow: hidden;
        }

		.tab {
			width: 1100px;
			margin: 20px auto 0;
		}

        .tab .tab-ctrl {
            width: 100%;
            height: 46px;
            background: #f4f4f4;
            margin-bottom: 20px;
            border-bottom: 1px solid #d2d2d2;
        }

        .tab .tab-ctrl li {
            height: 46px;
            line-height: 46px;
            padding: 0 30px;
            float: left;
            font-size: 14px;
            margin-top: 1px;
            font-weight: 700;
            color: #333333;
            cursor: pointer;
            -ms-user-select: none;
            -moz-user-select: none;
            -webkit-user-select: none;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

        .tab .tab-ctrl li.current {
            color: #e60000;
            border-bottom: 1px solid #e60000;
        }

        .tab .mask-wrapper .mask {
            width: 1100px;
            display: none;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            overflow: hidden;
        }

        .tab .mask-wrapper .show {
            display: block;
        }

        .tab .mask-wrapper .mask .left-content {
            float: left;
            width: 250px;
            height: 300px;
            background: white;
            position: relative;
            border: solid 1px #c9c9c9;
        }

        .tab .mask-wrapper .mask .left-content .title {
            width: 210px;
            height: 48px;
            line-height: 48px;
            text-align: center;
            color: #333;
            margin: 10px auto;
            font-size: 14px;
            font-weight: 700;
        }

        .tab .mask-wrapper .mask .left-content .content {
            width: 210px;
            margin: 10px auto;
        }

        .tab .mask-wrapper .mask .left-content .content p {
            width: 100%;
            line-height: 24px;
            text-indent: 24px;
            font-size: 12px;
            color: #757575;
        }

        .tab .mask-wrapper .mask .left-content .footer {
            width: 100px;
            position: absolute;
            left: 50px;
            bottom: 30px;
        }

        .tab .mask-wrapper .mask .left-content .footer a {
            width: 150px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            background: #e60000;
            color: white;
            display: block;
            font-size: 14px;
        }

        .tab .mask-wrapper .mask .left-content .footer a:hover {
            background: #e92b2f;
        }

        .tab .mask-wrapper .mask .right-content {
            float: right;
            width: 786px;
            padding: 10px 20px;
            height: 280px;
            background: white;
            border: solid 1px #c9c9c9;
        }

		.dyfz_ss {
			width: 784px;
			height: 28px;
			background-color: #f00;
			margin: 10px 0;
		}

		.dyfz_ss_l {
			width: 640px;
			height: 28px;
			float: left;
		}

		.dyfz_ss_r {
			width: 75px;
			height: 28px;
			float: right;
		}

		.input_ys5 {
			width: 697px;
			height: 26px;
			background-color: #ededed;
			border: 1px #ededed solid;
			float: left;
			padding-left: 10px;
		}

		#jftable {
			height: 216px;
			overflow: auto;
			border: 1px #ededed solid;
		}
    	.s_content_t,
		.s_content_t .s_content_t_i{
    		height: 38px;
			line-height: 38px;
			font-size: 16px;
		}
    	.moredata {
    		position: absolute; 
			right: 0; 
			top: -39px;
		}
    	.moredata a {
			height: 16px;
			line-height: 16px;
    		padding: 0 8px;
			color: #969696;
			font-size: 12px;
		}
    	.moredata a:hover {
    		color: #e60000;
		}
    </style>

    <script src="../Resource/js/jquery/jquery.textSlider.js"></script>
    <script src="../Resource/js/jquery/slidelf.js"></script>
    <script src="../Resource/js/MSClass.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main" style="margin: 0;">
        <div class="tabtop">
            <div class="tabtitle">组织导航</div>
        </div>
        <div class="bh_content_row1 clearfix" style="height: auto;">
            <div class="bh_float_left s_content_row1_size" id="OrgOverview_Street">
                <div class="s_content_t">
                    <span class="s_content_t_i">组织概况</span>
                </div>
                <div class="s_content_border s_content_k bh_content_row1_col1_content" style="height: 340px;">
                    <div class="mytab">
                        <div class="tabcontroller">
                            <ul>
                                <li class="active">
                                    <div class="icon icon1"></div>
                                    <div class="text"><a href="BranchHome/BranchLeaderWindow.aspx?BranchID=<%=BranchID %>" target="_blank">领导之窗</a></div>
                                </li>
                                <li>
                                    <div class="icon icon2"></div>
                                    <div class="text"><a href="BranchHome/BranchMember.aspx?BranchID=<%=BranchID %>" target="_blank">组织成员</a></div>
                                </li>
                                <li>
                                    <div class="icon icon3"></div>
                                    <div class="text"><a href="/Portal/BranchHome/BranchLeader.aspx?BranchID=<%=BranchID %>">班子成员</a></div>
<%--                                    <div class="item item1"><a href="#" target="_blank" title="区办事指南">区办事指南</a></div>
                                    <div class="item item2"><a href="#" target="_blank" title="2"><img src="../Resource/themes/default/images/Party/lead.png" width="20" height="20" /></a></div>
                                    <div class="item item3"><a href="#" target="_blank" title="部门办事指南">部门办事指南</a></div>--%>
                                </li>
                                <li>
                                    <div class="icon icon4"></div>
                                    <div class="text"><a href="BranchHome/BranchDutyPage.aspx?BranchID=<%=BranchID %>" target="_blank">机构职责</a></div>
                                </li>
                            </ul>
                        </div>
                        <div class="tabpanel">
                            <div class="tabcontent">
                                <p title="<%=OrgDesc %>">
                                    <asp:Label runat="server" ID="lbOrgDesc"></asp:Label>
                                </p>
                            </div>
                        </div>
                    </div>
                    <!--<div class="bh_branchinfo_img">
                    <div style="margin:10px;width:310px;height:auto;">
                        <uc1:ImageAuto runat="server" ID="ImageAuto"
                            ImgUrl='/Resource/themes/default/images/Party/headsun.png'
                            Para="{ width:310, height: 160, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                    </div>
                </div>
                <div class="text">
                    <asp:Label runat="server" ID="lbPartyOrgDesc"></asp:Label>
                </div>
                <div class="bh_row1_col1_title" style="display:none;">
                    <asp:Literal runat="server" ID="litBranchName"></asp:Literal>
                </div>-->
                    <div id="branchPoint" class="" style="display: none; padding: 10px 35px; line-height: 20px;">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="letter-spacing: 15px;">支部积分：</td>
                                <td style="width: 30px;"><span>
                                    <asp:Literal runat="server" ID="litScore"></asp:Literal></span></td>
                                <td>排名：</td>
                                <td><span>
                                    <asp:Literal runat="server" ID="litRank"></asp:Literal></span></td>
                            </tr>
                            <tr>
                                <td style="letter-spacing: 6px;">组织生活积分：</td>
                                <td><span>
                                    <asp:Literal runat="server" ID="Literal1"></asp:Literal></span></td>
                                <td>排名：</td>
                                <td><span>
                                    <asp:Literal runat="server" ID="Literal2"></asp:Literal></span></td>
                            </tr>
                            <tr>
                                <td>党组织集中学习积分：</td>
                                <td><span>
                                    <asp:Literal runat="server" ID="Literal3"></asp:Literal></span></td>
                                <td>排名：</td>
                                <td><span>
                                    <asp:Literal runat="server" ID="Literal4"></asp:Literal></span></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="bh_float_left s_content_row1_size" style="display: none;" id="OrgOverview_village">
                <div class="s_content_t">
                    <span class="s_content_t_i">组织概况</span>
                </div>
                <div class="s_content_border s_content_k bh_content_row1_col1_content" style="height: 340px;">
                    <div class="mytab">
                        <div class="tabcontroller">
                            <ul>
                                <li class="active">
                                    <div class="icon icon1"></div>
                                    <div class="text"><a href="BranchHome/BranchLeader.aspx?BranchID=<%=BranchID %>" target="_blank">班子成员</a></div>
                                </li>
                                <li>
                                    <div class="icon icon2"></div>
                                    <div class="text"><a href="BranchHome/BranchMember.aspx?BranchID=<%=BranchID %>" target="_blank">组织成员</a></div>
                                </li>
                                <li>
                                    <div class="icon icon3"></div>
                                    <div class="text"><a href="#" target="_blank">村民代表</a></div>
                                </li>
                                <li>
                                    <div class="icon icon4"></div>
                                    <div class="text">监督委员</div>
                                </li>
                            </ul>
                        </div>
                        <div class="tabpanel">
                            <div class="tabcontent">
                                <p>
                                    <asp:Label runat="server" ID="lbOrgdesc2"></asp:Label>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="bh_float_left s_content_row1_size" style="margin-left: 8px; display: none;" id="OrgInfo_viliage">
                <div class="s_content_t">
                    <span class="s_content_t_i">组织信息</span>
                    <span class="s_more"><a id="someid" href="#" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="s_content_border s_content_k bh_content_row1_col1_content" style="height: 340px;">
                    <div style="width: 100%; margin: 20px auto;">
                        <h3 style="width: 100%; text-align: center; color: red; font-size: 24px;"><%=BranchName %></h3>
                        <p style="margin: 20px 0; width: 100%;">
                            <a href="BranchHome/BranchLeader.aspx?BranchID=<%=BranchID %>" target="_blank"><span style="display: inline-block; width: 30%; text-align: right;">组织班子成员</span></a>
                            <a href="BranchHome/BranchMember.aspx?BranchID=<%=BranchID %>" target="_blank"><span style="display: inline-block; width: 30%; text-align: center;">党组织成员</span></a>
                            <a><span style="display: inline-block; width: 30%; text-align: left;">群团组织成员</span></a>
                        </p>
                    </div>
                    <div style="width: 100%; margin: 30px auto;">
                        <h3 style="width: 100%; text-align: center; font-size: 24px;"><%=BranchName %>村民委员会</h3>
                        <p style="margin: 30px 0; width: 100%;">
                            <a><span style="display: inline-block; width: 45%; text-align: center;">村委会班子成员</span></a>
                            <a><span style="display: inline-block; width: 45%; text-align: center;">下属委员会</span></a>

                        </p>
                        <p style="margin: 30px 0; width: 100%;">
                            <a><span style="display: inline-block; width: 45%; text-align: center;">村务监督委员会</span></a>
                            <a><span style="display: inline-block; width: 45%; text-align: center;">村民代表</span></a>

                        </p>
                    </div>
                </div>
            </div>
            <div class="bh_float_left s_content_row1_size" style="margin-left: 8px; display: none;" id="OrgInfo_Street">
                <div class="s_content_t">
                    <span class="s_content_t_i">组织信息</span>
                    <span class="s_more"><a id="someid" href="#" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="s_content_border s_content_k bh_content_row1_col1_content" style="height: 340px;">
                    <ul>
                        <li><a href="BranchHome/BranchLeader.aspx?BranchID=<%=BranchID %>" target="_blank">
                            <uc1:ImageAuto runat="server" ID="ImageAuto1"
                                ImgUrl='/Resource/themes/default/images/Party/cwbzcy.png'
                                Para="{ width:310, height: 50, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                        </a>
                        </li>
                        <li><a href="BranchHome/BranchMember.aspx?BranchID=<%=BranchID %>" target="_blank">
                            <uc1:ImageAuto runat="server" ID="ImageAuto2"
                                ImgUrl='/Resource/themes/default/images/Party/bscbzcy.png'
                                Para="{ width:310, height: 50, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                        </a>
                        </li>
                        <li><a href="#">
                            <uc1:ImageAuto runat="server" ID="ImageAuto3"
                                ImgUrl='/Resource/themes/default/images/Party/dzgzjg.png'
                                Para="{ width:310, height: 50, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                        </a>
                        </li>
                        <li><a href="#">
                            <uc1:ImageAuto runat="server" ID="ImageAuto4"
                                ImgUrl='/Resource/themes/default/images/Party/ldgbgwhd.png'
                                Para="{ width:310, height: 50, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                        </a>
                        </li>
                        <li><a href="#">
                            <uc1:ImageAuto runat="server" ID="ImageAuto5"
                                ImgUrl='/Resource/themes/default/images/Party/bszn.png'
                                Para="{ width:310, height: 50, method: 'resize', fitDirection:'center center',onFinish:finishload }" />
                        </a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="bh_float_left s_content_col_j s_content_row1_size bh_content_row1_col2_content">
                <div class="clearfix">
                    <div class="s_content_t">
                        <span class="s_content_t_i">组织动态</span>
                    </div>
                    <%--<span class="s_more"><a id="someid1" href="#" target="_blank">更多&gt;&gt;</a></span>--%>
                </div>
                <div class="clear"></div>
                <div class="bh_row2_col2_size s_content_border s_content_k" style="height: 340px; border: solid 1px #c9c9c9;overflow: hidden;">
                    <div class="content">
                        <ul class="news_lb new_news_lb">
                            <asp:Repeater ID="rpBranchActivitie1" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <a target="_blank" title='<%#Eval("Title") %>' href='<%#Eval("Module").ToString()=="Organizational"?"/ArticleDetailContent.aspx?ID="+Eval("ID"):"BranchActivitie/BranchActivitieDetail.aspx?ID="+Eval("ID") %>'>
                                            <%#Eval("Title").ToString().Length > 15?Eval("Title").ToString().Substring(0,15)+"...":Eval("Title") %>
                                        </a>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <asp:Repeater ID="rpBranchActivitie" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <a target="_blank" title='<%#Eval("Title") %>' href='<%#Eval("Module").ToString()=="Organizational"?"/ArticleDetailContent.aspx?ID="+Eval("ID"):"BranchActivitie/BranchActivitieDetail.aspx?ID="+Eval("ID") %>'>
                                            <%#Eval("Title").ToString().Length > 23?Eval("Title").ToString().Substring(0,23)+"...":Eval("Title") %>
                                        </a>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="bh_float_left s_content_col_j s_content_row1_size bh_content_row1_col2_content">
                <div class="clearfix">
                    <div class="s_content_t">
                        <span class="s_content_t_i">党组织信息公示</span>
                    </div>
                    <%--<span class="s_more"><a id="someid2" href="#" target="_blank">更多&gt;&gt;</a></span>--%>
                </div>
                <div class="bh_row2_col2_size s_content_border s_content_k" style="height: 320px;padding-bottom: 20px; border: solid 1px #c9c9c9;overflow: hidden;">
                    <div id="orginfor" class="s_content_margin clearfix listtabnew" style="display: block; width: 320px; margin: 0 auto;">
                        <a class="lovetab lovetab2" tab="0"><span class="">发展党员</span></a>
                        <a class="lovetab2" tab="1"><span>组织转接公示</span></a>
                        <div class="clear"></div>
                    </div>
                    <div class="listtabcontent" style="display: block; width: 320px; margin: 0 auto;">
                        <dl class="part_dll">
                            <asp:Repeater ID="rpPublicity" runat="server">
                                <ItemTemplate>
                                    <dd>
                                        <a target="_blank" href='<%#"/Portal/JoinParty/Activists.aspx?ID="+Eval("ID")+"&AppllicationID="+Eval("AppllicationID") %>'>
                                            <%#Eval("Title").ToString().Length>20?Eval("Title").ToString().Substring(0,20)+"...":Eval("Title").ToString() %>
                                        </a>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                    <div class="listtabcontent" style="display: none; width: 320px; margin: 0 auto;">
                        <dl class="part_dll">
                            <asp:Repeater ID="rpTransfer" runat="server">
                                <ItemTemplate>
                                    <dd title="<%#Eval("Title") %>">
                                        <%--<a target="_blank" href='#' title="<%#Eval("Title") %>">
                                            <%#Eval("Title").ToString().Length>20?Eval("Title").ToString().Substring(0,20)+"...":Eval("Title").ToString() %>
                                        </a>--%>
                                        <%#Eval("Title").ToString().Length>20?Eval("Title").ToString().Substring(0,20)+"...":Eval("Title").ToString() %>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>

    <div class="clear"></div>
    <div class="tab">
        <ul id="tab-ctrl" class="tab-ctrl">
            <li class="current">积分排行</li>
            <li>党费缴纳</li>
            <li>三会一课</li>
        </ul>
        <div id="mask-wrapper" class="mask-wrapper">
            <div class="mask show">
                <div class="left-content">
                    <div class="title">
                        积分排行
                    </div>
                    <div class="content">
                        <p>通过量化党建工作事项，全程掌握党组织和党员动态，依据全区党建工作积分考核办法，实行月度、季度、年度考核。积分排行结果将做为全区党建目标考核重要依据。</p>
                    </div>
                    <%--<div class="footer"><a href="#">点击进入</a></div>--%>
                </div>
                <div class="right-content">
                    <div id="rankTitle" class="listtabnew s_content_margin clearfix" style="height: 36px; background: #fff; margin: 0 0 10px 0;">
                        <a class="lovetab lovetab2" tab="0" style="float: left;"><span class="" title="支部积分排名">支部积分排名</span></a>
                        <a class="lovetab2" tab="1" style="float: left;"><span title="党员积分排名">党员积分排名</span></a>
                        <a class="lovetab2" tab="2" style="float: left;"><span title="组织生活排名">组织生活排名</span></a>
                        <a class="lovetab2" tab="3" style="float: left;"><span title="个人学习排名">个人学习排名</span></a>
                        <a class="lovetab2" tab="4" style="float: left;"><span title="组织集中学习积分排名">组织集中学习排名</span></a>
                        <div class="clear"></div>
                    </div>
                    <div class="listtabcontent" style="position: relative;">
                        <div class="score_rank_table_content">
                            <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>名次</th>
                                    <th>党支部</th>
                                    <th>积分</th>
                                </tr>
                                <asp:Repeater runat="server" ID="rpRankBranch">
                                    <ItemTemplate>
                                        <tr>
                                            <td><span class="spans1">
                                                <b id='<%# Convert.ToInt32(Eval("Rank"))<4?"bb":"rank"+Container.ItemIndex %>'><%# Eval("Rank") %></b>
                                            </span></td>
                                            <td><span class="spans3"><%# Eval("BranchName") %></span></td>
                                            <td><span class="spans1"><%# Eval("Score") %></span></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
						<div class="moredata">
                            <a target="_blank" href="score/PersonStudy_Branch.aspx?IsAllmember=1">更多&gt;&gt;</a>
                        </div>
                    </div>
                    <div class="listtabcontent" style="display: none; position: relative;">
                        <div class="score_rank_table_content">
                            <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>名次</th>
                                    <th>姓名</th>
                                    <th>党支部</th>
                                    <th>积分</th>
                                </tr>
                                <asp:Repeater runat="server" ID="rpRankMember">
                                    <ItemTemplate>
                                        <tr>
                                            <td><span class="spans1"><b id='<%# Convert.ToInt32(Eval("Rank"))<4?"bb":"rank"+Container.ItemIndex %>'><%# Eval("Rank") %></b></span></td>
                                            <td><span class="spansna" title='<%# Eval("UserName") %>'><%# StringHelper.SubstringShort(5,Eval("UserName").ToString(),3) %></span></td>
                                            <td><span class="spansba" title='<%# Eval("BranchName") %>'><%# StringHelper.SubstringShort(11, Eval("BranchName").ToString(),9) %></span></td>
                                            <td><span class="spans1"><%# Eval("Score") %></span></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
                        <div class="moredata">
                            <a target="_blank" href="score/PersonStudy_Branch.aspx" id="partyscore_more">更多&gt;&gt;</a>
                        </div>
                    </div>

                    <div class="listtabcontent" style="display: none; position: relative;">
                        <div class="score_rank_table_content">
                            <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>名次</th>
                                    <th>党支部</th>
                                    <th>开展次数</th>
                                    <th>参与人次</th>
                                </tr>
                                <asp:Repeater runat="server" ID="rpRankBranchActivity">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <b id='<%# Convert.ToInt32(Eval("Rank"))<4?"bb":"rank"+Container.ItemIndex %>'><%# Eval("Rank") %></b>
                                            </td>
                                            <td title='<%# Eval("BranchName") %>'><%# StringHelper.SubstringShort(11, Eval("BranchName").ToString(),9) %></td>
                                            <td><a href="#" target="_blank"><%# Eval("ActivitiesCount") %></a></td>
                                            <td><a href="#" target="_blank"><%# Eval("ParticipantCount") %></a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
						<div class="moredata">
                            <a target="_blank" href="score/PersonStudy_Branch.aspx?IsAllmember=1">更多&gt;&gt;</a>
                        </div>
                    </div>
                    <div class="listtabcontent" style="display: none; position: relative;">
                        <div class="score_rank_table_content">
                            <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>名次</th>
                                    <th>姓名</th>
                                    <th>党支部</th>
                                    <th>积分</th>
                                </tr>
                                <asp:Repeater runat="server" ID="rptRankMemberAll">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <b id='<%# Convert.ToInt32(Eval("Rank"))<4?"bb":"rank"+Container.ItemIndex %>'><%# Eval("Rank") %></b>
                                            </td>
                                            <td title='<%# Eval("UserName") %>'><%# StringHelper.SubstringShort(5,Eval("UserName").ToString(),3) %></td>
                                            <td title='<%# Eval("BranchName") %>'><%# StringHelper.SubstringShort(11, Eval("BranchName").ToString(),9) %></td>
                                            <td><a href="Portal/Score/PartyScoreDetail.aspx?Category=Member&LoginID=<%# Eval("LoginID") %>" target="_blank"><%# Eval("Score") %></a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
                        <div class="moredata">
                            <a target="_blank" href="score/PersonStudy_Branch.aspx?IsAllmember=1">更多&gt;&gt;</a>
                        </div>
                    </div>
                    <div class="listtabcontent" style="display: none; position: relative;">
                        <div class="score_rank_table_content">
                            <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <th>名次</th>
                                    <th>党支部</th>
                                    <th>开展次数</th>
                                    <th>参与人次</th>
                                </tr>
                                <asp:Repeater runat="server" ID="rptRankBranchMassLearning">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <b id='<%# Convert.ToInt32(Eval("Rank"))<4?"bb":"rank"+Container.ItemIndex %>'><%# Eval("Rank") %></b>
                                            </td>
                                            <td title='<%# Eval("BranchName") %>'><%# StringHelper.SubstringShort(11, Eval("BranchName").ToString(),9) %></td>
                                            <td><a href="#" target="_blank"><%# Eval("ActivitiesCount") %></a></td>
                                            <td><a href="#" target="_blank"><%# Eval("ParticipantCount") %></a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
						<div class="moredata">
                            <a target="_blank" href="score/PersonStudy_Branch.aspx?IsAllmember=1">更多&gt;&gt;</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mask">
                <div class="left-content">
                    <div class="title">
                        党费缴纳
                    </div>
                    <div class="content">
                        <p>利用现代信息技术，创新实行党费在线缴纳、在线管理、在线统计等流程操作，进一步强化党费管理的公开透明和科学有效管理，极大的方便了党组织和党员。</p>
                    </div>
                    <%--<div class="footer"><a href="../../MorePage.aspx?module=PartyPayment&Category=Payment&BranchID=<%=BranchID %>">点击进入</a></div>--%>
                </div>
                <div class="right-content">

                    <div class="dyfz_ss">
                        <div class="dyfz_ss_l">
                            <input class="input_ys5" name="" id="txtSearch" placeholder="请输入缴费人姓名进行查询" type="text" />
                        </div>
                        <div class="dyfz_ss_r">
                            <a href="javascript:void(0)" onclick="getSearch()">
                                <img src="../Resource/themes/default/images/Buttons/wj_48.jpg" border="0" /></a>
                        </div>
                    </div>
                    <div id="jftable">
                        <table class="score_rank_table" border="0" cellspacing="0" cellpadding="0" style="text-align: center;">
                            <thead>
                                <tr>
                                    <th>缴费人名称</th>
                                    <th>缴费金额（元）</th>
                                    <th>缴费日期</th>
                                </tr>
                            </thead>
                            <tbody id="scrolltable">
                                <asp:Repeater runat="server" ID="rpMemberCost">
                                    <ItemTemplate>
                                        <tr>
                                            <td><%# Eval("UserName")%></td>
                                            <td><%# Eval("Cost") %></td>
                                            <td><%# Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy-MM-dd") %></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="mask">
                <div class="left-content">
                    <div class="title">
                        三会一课
                    </div>
                    <div class="content">
                        <p>利用网络等信息化平台，创新党的基层支部组织生活形式和党员教育方式，进一步加强基层党组织建设，提高战斗力。</p>
                    </div>
                    <div class="footer" style="display: none;"><a href="#">点击进入</a></div>
                </div>
                <div class="right-content">
                    <div style="height: 298px;">
                        <iframe frameborder="0" src="/Portal/Other/CalendarPage.aspx?BranchID=<%=BranchID %>" style="width: 450px; height: 300px;"></iframe>
                        <div class="s_content_border s_content_k bh_row2_col2_size" style="float: right; width: 320px; height: 300px;">
                            <div id="scrollDiv1" class="s_content_border s_content_k s_content_row6_col1_content scrollTes" style="height: 300px;">
                                <div class="listtabnew clearfix s_content_margin" id="hdyg">
                                    <a class="lovetab2 lovetab" tab="0" onmouseover="ThreeLessons(1)"><span>活动记录</span></a>
                                    <a class="lovetab2" tab="1" onmouseover="ThreeLessons(2)"><span>活动预告</span></a>
                                </div>

                                <div class="scrollText" id="divThreeLessons" style="height: 262px;">
                                    <dl class="part_dll" style="width: 100%;">
                                        <asp:Repeater runat="server" ID="rpThreeLessons">
                                            <ItemTemplate>
                                                <dd>
                                                    <a href="MeetingLecture/CoursesMeetingDetail.aspx?ID=<%# Eval("ID").ToString()%>&BranchID=<%=BranchID%>&Category=<%# Eval("Category").ToString()%>" style="cursor: pointer; display: block; height: auto; overflow: hidden;">
                                                        <span style="float: left;" title="<%# Eval("Title").ToString()%>">
                                                            <%# CutLongTitle(Eval("Title").ToString(), 5)%>
                                                        </span>

                                                        <span style="float: right;">
                                                            <%#Convert.ToDateTime(Eval("BeginTime")).ToString("yyyy-MM-dd")%>
                                                        </span>
                                                    </a>
                                                </dd>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </dl>
                                </div>

                                <div class="scrollText" style="width: 100%; display: none;" id="divThreeLessons1">
                                    <dl class="part_dll" style="width: 100%">
                                        <asp:Repeater runat="server" ID="rpThreeLessons1">
                                            <ItemTemplate>
                                                <dd style="width: 80%;">
                                                    <a href="MeetingLecture/CoursesMeetingDetail.aspx?ID=<%# Eval("ID").ToString()%>&BranchID=<%=BranchID%>&Category=<%# Eval("Category").ToString()%>" style="cursor: default">
                                                        <span style="float: left;" title="<%# Eval("Title").ToString()%>">
                                                            <%# CutLongTitle(Eval("Title").ToString(), 5)%>
                                                        </span>

                                                        <span style="float: right;">
                                                            <%#Convert.ToDateTime(Eval("BeginTime")).ToString("yyyy-MM-dd")%>
                                                        </span>
                                                    </a>
                                                </dd>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </dl>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        $('#tab-ctrl li').hover(function () {
            var n = $(this).index();
            //1、点击li的时候要切换样式
            $(this).addClass('current').siblings().removeClass('current');
            //2、根据li的索引值，来确定哪个div显示，其它div隐藏
            $('#mask-wrapper>.mask').eq(n).show().siblings().hide();
        });
    </script>
    <div class="bh_row3">
        <div class="s_float_left s_content_row5_col1_size" style="width: 540px; overflow: hidden;">
            <div class="s_content_t">
                <span class="s_content_t_i">三务公开</span>
                <span class="s_more"><a href="/Portal/PartyOpenMore.aspx" target="_blank">更多&gt;&gt;</a></span>
            </div>
            <div class="s_content_border s_content_k s_content_row6_col1_content" style="height: 400px; border: solid 1px #c9c9c9; padding: 10px 20px;">
                <div class="listtabnew clearfix s_content_margin" id="threewu">
                    <a class="lovetab lovetab2" tab="0" style="padding: 0 16px;"><span>党务</span></a>
                    <a class="lovetab2" tab="1" style="padding: 0 16px;"><span>村务</span></a>
                    <a class="lovetab2" tab="2" style="padding: 0 16px;"><span>财务</span></a>
                    <a class="lovetab2" tab="3" style="padding: 0 16px;"><span>涉农政策</span></a>
                    <a class="lovetab2" tab="4" style="padding: 0 16px;" id="ygcwLive"><span>阳光村务现场</span></a>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
                <div class="listtabcontent">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpPartyAffairs" runat="server">
                            <ItemTemplate>
                                <dd>
                                    <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a>
                                </dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
                <div class="listtabcontent" style="display: none">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpVillageAffairs" runat="server">
                            <ItemTemplate>
                                <dd>
                                    <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a>
                                </dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
                <div class="listtabcontent" style="display: none">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpFinance" runat="server">
                            <ItemTemplate>
                                <dd>
                                    <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a>
                                </dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
                <div class="listtabcontent" style="display: none">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpAgriculturalPolicy" runat="server">
                            <ItemTemplate>
                                <dd>
                                    <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a>
                                </dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
                <div class="listtabcontent" style="display: none">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpPartyRemittance" runat="server">
                            <ItemTemplate>
                                <dd>
                                    <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a>
                                </dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
            </div>
        </div>
        <div class="bh_row3_col1 bh_float_left">
            <div class="s_content_col_j bh_content_row2_size bh_row3_col1_content" style="display: block; width: 540px;">
                <div class="s_content_t">
                    <span class="s_content_t_i">上级精神</span>
                    <span class="s_more"><a id="newids" href="/MorePage.aspx?module=MassLine&category=SuperiorsSpirit" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="s_content_border s_content_k" style="height: 400px; border: solid 1px #c9c9c9; padding: 10px 20px;">
                    <dl class="part_dll">
                        <asp:Repeater ID="rpMassSuperiorSpirit" runat="server">
                            <ItemTemplate>
                                <dd><a target="_blank" href="/ArticleDetailContent.aspx?ID=<%#Eval("ID")%>" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 30) %></a></dd>
                            </ItemTemplate>
                        </asp:Repeater>
                    </dl>
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="bh_row3">
        <div class="bh_row3_col1 bh_float_left">
            <div class="bh_row3_col1_content">
                <div class="clearfix s_content_t">
                    <span class="s_content_t_i">先进典型</span>
                    <span class="s_more"><a href="MassLine/HonourMore.aspx?module=MassLine&category=MassHonour" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="listtabcontent">
                    <div class="s_content_k s_content_border" id="masshonourdiv" style="height: 325px; border: solid 1px #c9c9c9; padding: 10px 20px; overflow: hidden;">
                        <dl class="part_dll">
                            <asp:Repeater ID="rpMassHonour" runat="server">
                                <ItemTemplate>
                                    <dd><a target="_blank" href="MassLine/HonourDetail.aspx?id=<%#Eval("ID")%>" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 18) %></a></dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                </div>
            </div>
        </div>
        <div class="bh_row3_col1 bh_float_left">
            <div class="s_content_col_j bh_content_row2_size bh_row3_col1_content">
                <div class="s_content_t">
                    <span class="s_content_t_i">志愿活动</span>
                    <span class="s_more"><a id="volunteer_more" href="#" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="s_content_border s_content_k bh_row2_col2_size" style="border: solid 1px #c9c9c9; padding: 10px 20px; overflow: hidden;">
                    <div id="volunteerTitle" class="listtabnew s_content_margin clearfix">
                        <a class="lovetab lovetab2" tab="0"><span class="">志愿活动召集</span></a>
                        <a class="lovetab2" tab="1"><span>志愿者心语</span></a>
                        <div class="clear"></div>
                    </div>
                    <div class="listtabcontent">
                        <dl class="part_dll">
                            <asp:Repeater ID="rpVolunteerActivity" runat="server">
                                <ItemTemplate>
                                    <dd>
                                        <a target="_blank" href='<%#"VolunteerActivitie/VolunteerActiviteDetail.aspx?ID="+Eval("ID") %>'>
                                            <span style="float: left;" class='<%#Eval("IsEnd").ToString()== "1" ? "spanb":"spanr" %>'>[<%#Eval("IsEndName") %>]</span>
                                            <%#Eval("Title").ToString().Length>15?Eval("Title").ToString().Substring(0,15)+"...":Eval("Title").ToString() %>
                                        </a>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                    <div class="listtabcontent" style="display: none">
                        <dl class="part_dll">
                            <asp:Repeater ID="rpQuotation" runat="server">
                                <ItemTemplate>
                                    <dd>
                                        <a target="_blank" href='<%#"VolunteerActivitie/VolunteerQuotationDetail.aspx?ID="+Eval("ID") %>' title="<%#Eval("Content") %>"><%#CutLongTitle(Eval("Content"), 18) %></a>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                </div>

            </div>
        </div>
        <div class="bh_row3_col1 bh_float_left">
            <div class="s_content_col_j bh_content_row2_size bh_row3_col1_content">
                <div class="s_content_t">
                    <span class="s_content_t_i">思想汇报</span>
                    <span class="s_more"><a id="newid" href="/Portal/PartySound/PartySoundMore.aspx?Category=Experience&BranchID=<%=BranchID %>" target="_blank">更多&gt;&gt;</a></span>
                </div>
                <div class="s_content_border s_content_k bh_row2_col2_size" style="border: solid 1px #c9c9c9; padding: 10px 20px; overflow: hidden;">
                    <div id="threport" class="listtabnew s_content_margin clearfix">
                        <a class="lovetab lovetab2" tab="0"><span class="">心得体会</span></a>
                        <a class="lovetab2" tab="1"><span>思想汇报</span></a>
                        <div class="clear"></div>
                    </div>
                    <div class="listtabcontent">
                        <dl class="part_dll">
                            <asp:Repeater ID="rptExperience" runat="server">
                                <ItemTemplate>
                                    <dd>
                                        <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 16) %></a>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                    <div class="listtabcontent" style="display: none">
                        <dl class="part_dll">
                            <asp:Repeater ID="rptThoughtReport" runat="server">
                                <ItemTemplate>
                                    <dd>
                                        <a href='<%#"../ArticleDetailContent.aspx?id="+Eval("ID") %>' target="_blank" title='<%#Eval("Title") %>'><%#CutLongTitle(Eval("Title"), 16) %></a>
                                    </dd>
                                </ItemTemplate>
                            </asp:Repeater>
                        </dl>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="bh_row4">
        <div class="s_content_border s_content_k ">
            <div class="listtab s_content_margin clearfix">
                <a class="lovetab"><span class="s_content_t_i_t" style="font-size: 16px;">留影墙</span></a>
                <%--<span class="s_more"><a href="#" target="_blank" style="font-size: 12px;">更多&gt;&gt;</a></span>--%>
            </div>
            <div class="clear"></div>
            <div style="overflow: hidden; margin-top: 20px;">
                <div class="fl-pic">
                    <ul id="marqueediv6">
                        <asp:Repeater ID="rptHonorHall" runat="server">
                            <ItemTemplate>
                                <li>
									<a href="PhotoWall/PhotoWallPage.aspx?PhotoWallID=<%#Eval("ID")%>" title='<%#Eval("Describe") %>' target="_blank">
										<img src="../<%#Eval("Url")%>" class="phone" />
										<span class="img_span">&nbsp;<%#CutLongTitle(Eval("Describe"), 12) %></span>
									</a>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <%--注释之前的--%>
    <%--    <div class="bh_row4">
        <div class="s_content_border s_content_k ">
            <div class="listtab  s_content_margin clearfix">
                <a class="lovetab"><span class="s_content_t_i20 s_content_t_i_t">留影墙</span></a>
                <span class="s_more"><a href="#" target="_blank">更多&gt;&gt;</a></span>
            </div>
            <div class="clear"></div>
            <div style="overflow: hidden; padding-bottom: 8px;">
                <div class="fl-pic">
                    <div class="left-arrow">
                        <a class="u-prev" style="margin-top: 50px"></a>
                    </div>
                    <ul id="">
                        <asp:Repeater ID="rptHonorHall" runat="server">
                            <ItemTemplate>
                                <li><a target="_blank" href="PhotoWall/PhotoWallPage.aspx?PhotoWallID=<%#Eval("ID")%>" title='<%#Eval("Describe") %>'>
                                    <img src="../<%#Eval("Url")%>" class="phone" /></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div class="right-arrow">
                        <a class="u-next" style="margin-top: 50px"></a>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
	<script src="https://cdn.bootcss.com/jQuery.Marquee/1.5.0/jquery.marquee.min.js"></script>
    <script type="text/javascript">
        //mytab
        $(function () {
            $('.tabcontroller li').hover(function () {
                var index = $(this).index();
                $(this).addClass('active').siblings().removeClass('active');
            });
        });

        //三会一课，活动记录、活动预告
        function ThreeLessons(sss) {
            if (sss == 1) {
                document.getElementById('divThreeLessons1').style.display = "none";
                document.getElementById('divThreeLessons').style.display = "";
            }
            if (sss == 2) {
                document.getElementById('divThreeLessons').style.display = "none";
                document.getElementById('divThreeLessons1').style.display = "";
            }

        }


        var finishload = function () {
            $("#imagediv").fadeIn(1000);
        }
        var tabf = function () {
            $(".listtab").each(function (i, n) {
                $tab = $(n);
                var $content = $(n).parent().find(".listtabcontent");
                var $tab_a = $("a[tab]", n);
                $tab_a.each(function (j, m) {
                    var showId = $(m).attr("tab");

                    $(m).hover(function () {
                        $content.hide();
                        $tab_a.removeClass('lovetab');
                        $tab_a.addClass('lovetab2');
                        $(m).addClass("lovetab");
                        $content.eq(showId).show();
                    });
                });
            });
        }

        var rankTab = function () {
            $("#rankTitle").each(function (i, n) {
                $tab = $(n);
                var $content = $(n).parent().find(".listtabcontent");
                var $tab_a = $("a[tab]", n);
                $tab_a.each(function (j, m) {
                    var showId = $(m).attr("tab");

                    $(m).hover(function () {
                        $content.hide();
                        $tab_a.removeClass('lovetab');
                        $tab_a.addClass('lovetab2');
                        $(m).addClass("lovetab");
                        $content.eq(showId).show();
                    });
                });
            });
        }

        var volunteerTab = function () {
            $("#volunteerTitle,#orginfor,#threport,#threewu,#hdyg").each(function (i, n) {
                $tab = $(n);
                var $content = $(n).parent().find(".listtabcontent");
                var $tab_a = $("a[tab]", n);
                $tab_a.each(function (j, m) {
                    var showId = $(m).attr("tab");
                    $(m).hover(function () {
                        $content.hide();
                        $tab_a.removeClass('lovetab');
                        $tab_a.addClass('lovetab2');
                        $(m).addClass("lovetab");
                        $content.eq(showId).show();
                        showMoreUrl(showId);
                    });
                });
            });
        }

        var checkIsHasChildrenBranch = function () {
            $.ajax({
                url: "BranchIndex.aspx/IsHasChildrenBranch",
                type: "post",
                contentType: "application/json",
                dataType: "json",
                data: "{branchId:\"" + querystring("BranchID") + "\"}",
                success: function (data) {
                    //debugger;
                    if (data.d == "false") {
                        //$("#rankTitle").children("a").eq(0).hide();
                        //$("#rankTitle").children("a").eq(2).hide();
                        //$("#rankTitle").children("a").eq(4).hide();
                        //$("#rankTitle").children("a").eq(1).removeClass("lovetab2").addClass("lovetab").css("left", "0px")
                        //$("#rankTitle").children("a").eq(3).css("top", "0px");
                        //$("#rankTitle").nextAll(".listtabcontent").eq(0).hide();
                        //$("#rankTitle").nextAll(".listtabcontent").eq(1).show();
                        //$("#rankTitle").css("height", "32px");


                        $("#OrgOverview_Street").hide();
                        $("#OrgOverview_village").show();
                    } else {
                        //$("#branchPoint").hide();
                        $("#OrgOverview_village").hide();
                        $("#OrgOverview_Street").show();
                    }
                }
            })
        }

        var checkIsStreetOrVillage = function () {
            $.ajax({
                url: "BranchIndex.aspx/IsStreetOrViliage",
                type: "post",
                contentType: "application/json",
                dataType: "json",
                data: "{branchId:\"" + querystring("BranchID") + "\"}",
                success: function (data) {
                    //debugger;
                    if (data.d == "false") {
                        $("#ygcwLive").hide();
                    } else {
                        $("#ygcwLive").show();
                    }
                }
            })
        }

        $(function () {
            //$(".fl-pic").each(function (i, n) {
            //    $(n).slidelf({
            //        "prev": "left-arrow",
            //        "next": "right-arrow",
            //        "speed": 3000,
            //        "min": 6
            //    });
            //});

            $("#masshonourdiv").slidelf({
                "prev": "left-arrow",
                "next": "right-arrow",
                "speed": 3000,
                "min": 6
            });
        });

        $(function () {
			//new Marquee("marqueediv6", 2, 1, 1100, 120, 20, 0, 0, 10);
			var $mq = $('#marqueediv6').marquee({
				duration: 5000,
				speed: 20,
				gap: 0,
				delayBeforeStart: 1000,
				direction: 'left',
				duplicated: true,
				pauseOnHover: true,
				pauseOnCycle: false,
				startVisible: true
			});
        });

        //$(function () {
        //    //tabf();
        //    checkIsHasChildrenBranch();
        //    rankTab();
        //    volunteerTab();
        //    //党费
        //    $("#scrollDiv").textSlider({ line: 1, speed: 500, timer: 2000 });

        //    $("#volunteer_more").attr("href", "VolunteerActivitie/VolunteerActiviteMore.aspx?module=VolunteerActivitie&category=Call&BranchID=" + querystring("BranchID"));
        //    $("#calendar_more").attr("href", "MeetingLecture/MeetingCalendar.aspx?module=Calendar&category=Calendar&BranchID=" + querystring("BranchID"));
        //});

        $(function () {
            //tabf();
            checkIsHasChildrenBranch();

            checkIsStreetOrVillage();
            rankTab();
            volunteerTab();
            //党费
            $("#jftable").textSlider({ line: 1, speed: 500, timer: 2000 });

            $("#volunteer_more").attr("href", "VolunteerActivitie/VolunteerActiviteMore.aspx?module=VolunteerActivitie&category=Call&BranchID=" + querystring("BranchID"));
            $("#calendar_more").attr("href", "MeetingLecture/MeetingCalendar.aspx?module=Calendar&category=Calendar&BranchID=" + querystring("BranchID")); partyscore_more


        });

        function showMoreUrl(index) {
            switch (index) {
                case "0":
                    $("#volunteer_more").attr("href", "VolunteerActivitie/VolunteerActiviteMore.aspx?module=VolunteerActivitie&category=Call&BranchID=" + querystring("BranchID"));
                    break;
                case "1":
                    $("#volunteer_more").attr("href", "VolunteerActivitie/VolunteerActiviteMore.aspx?module=VolunteerActivitie&category=Quotation&BranchID=" + querystring("BranchID"));
                    break;
            }
        }

        function querystring(key) {
            var re = new RegExp('(?:\\?|&)' + key + '=(.*?)(?=&|$)', 'gi');
            var r = [], m;
            while ((m = re.exec(document.location.search)) != null) r.push(m[1]);
            return r.toString();
        }

        //党费缴纳查询
        function getSearch() {
            var username = $("#txtSearch").val();
            var branchID = getUrlParam("BranchID");

            $.ajax({
                type: "POST",
                dataType: "html",
                url: "/WS/CityOnLineCount.ashx",
                data: { type: 5, branchID: branchID, username: username },
                success: function (data) {
                    $("#jftable").html(data);
                },
                error: function (errormsg) {
                }
            });
        }

        function getUrlParam(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
            var r = window.location.search.substr(1).match(reg);  //匹配目标参数
            if (r != null) return unescape(r[2]); return null; //返回参数值
        }

        //先在table的最后增加一行，然后再把第一行中的数据填充到新增加的行中，最后再删除table的第一行
        function change(table) {
            var row = table.insertRow(table.rows.length);//在table的最后增加一行,table.rows.length是表格的总行数
            for (j = 0; j < table.rows[0].cells.length; j++) {//循环第一行的所有单元格的数据，让其加到最后新加的一行数据中（注意下标是从0开始的）
                var cell = row.insertCell(j);//给新插入的行中添加单元格
                cell.height = "24px";//一个单元格的高度，跟css样式中的line-height高度一样
                cell.innerHTML = table.rows[0].cells[j].innerHTML;//设置新单元格的内容，这个根据需要，自己设置
            }
            table.deleteRow(0);//删除table的第一行
        };
        function tableInterval() {
            var table = document.getElementById("scrolltable");//获得表格
            change(table);//执行表格change函数，删除第一行，最后增加一行，类似行滚动
        };
        setInterval("tableInterval()", 1000);//每隔2秒执行一次change函数，相当于table在向上滚动一样

    </script>
</asp:Content>
